<?php
class morderCtrl extends lib_ctrl{

	public function init(){
		$this->view->assign('action','order');
		if($_COOKIE['member_uid']!=0){
			$this->view->assign('member_info',array('member_uid'=>$_COOKIE['member_uid'],'member_name'=>$_COOKIE['member_name']));
		}
	}
	
	public function indexAct(){
		$this->view->assign('status','');
		$this->view->display('member/order.html');
	}
	
	public function payAct(){
		$this->view->assign('status','pay');
		$this->view->display('member/order_pay.html');
	}
	
	public function unpayAct(){
		$this->view->assign('status','unpay');
		$this->view->display('member/order_unpay.html');
	}
}